import rxAjax from '@/assets/js/ajax.js';
export const processOverview = {};
processOverview.baseUrl= '/api-bpm/bpm/core/bpmDef/getAllForStart';
processOverview.getAllForStart =function(parameter,isPage) {
    let url= processOverview.baseUrl+"?isPage="+isPage;
    return rxAjax.postJson(url,parameter);
}
processOverview.getLastWeekBpmDef =function(parameter,isPage) {
    let url= '/api-bpm/bpm/core/bpmDef/getLastWeekBpmDef?isPage='+isPage;
    return rxAjax.postJson(url,parameter);
}
processOverview.getCollectByCondition =function(parameter,isPage) {
    let url= '/api-bpm/bpm/core/bpmDef/getCollectByCondition?isPage='+isPage;
    return rxAjax.postJson(url,parameter);
}